@PACKAGE_INIT@

set(COKE_VERSION "@coke_VERSION@")
set_and_check(COKE_INCLUDE_DIR "@PACKAGE_INCLUDE_DIR@")
set_and_check(COKE_LIBRARY_DIR "@PACKAGE_LIBRARY_DIR@")

check_required_components("@LIBRARY_NAME@")
set(COKE_LIBRARY "@LIBRARY_NAME@")
set(COKE_LIBRARIES "@LIBRARY_NAME@")

if (NOT TARGET coke::coke)
    include (${CMAKE_CURRENT_LIST_DIR}/coke-targets.cmake)

    if (TARGET coke::coke-static)
        add_library(coke::coke ALIAS coke::coke-static)
    elseif (TARGET coke::coke-shared)
        add_library(coke::coke ALIAS coke::coke-shared)
    endif ()

endif ()
